<?php /* Smarty version 2.6.20, created on 2011-12-27 13:13:09
         compiled from C:%5CD%5Cprestashoplf%5Cprestashop/themes/ling/cms.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'l', 'C:\\D\\prestashoplf\\prestashop/themes/ling/cms.tpl', 7, false),array('modifier', 'escape', 'C:\\D\\prestashoplf\\prestashop/themes/ling/cms.tpl', 22, false),)), $this); ?>
<?php if (isset ( $this->_tpl_vars['cms'] ) && $this->_tpl_vars['cms']->id != $this->_tpl_vars['cgv_id']): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./breadcrumb.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php endif; ?>
<?php if (isset ( $this->_tpl_vars['cms'] ) && ! isset ( $this->_tpl_vars['category'] )): ?>
	<?php if (! $this->_tpl_vars['cms']->active): ?>
		<div id="admin-action-cms">
			<p><?php echo smartyTranslate(array('s' => 'This CMS page is not visible to your customers.'), $this);?>

			<input type="hidden" id="admin-action-cms-id" value="<?php echo $this->_tpl_vars['cms']->id; ?>
" />
			<input type="submit" value="<?php echo smartyTranslate(array('s' => 'Publish'), $this);?>
" class="exclusive" onclick="submitPublishCMS('<?php echo $this->_tpl_vars['base_dir']; ?>
<?php echo $_GET['ad']; ?>
', 0)"/>			
			<input type="submit" value="<?php echo smartyTranslate(array('s' => 'Back'), $this);?>
" class="exclusive" onclick="submitPublishCMS('<?php echo $this->_tpl_vars['base_dir']; ?>
<?php echo $_GET['ad']; ?>
', 1)"/>			
			</p>
			<div class="clearblock"></div>
			<p id="admin-action-result"></p>
			</p>
		</div>
	<?php endif; ?>
	<div class="rte<?php if ($this->_tpl_vars['content_only']): ?> content_only<?php endif; ?>">
		<?php echo $this->_tpl_vars['cms']->content; ?>

	</div>
<?php elseif (isset ( $this->_tpl_vars['category'] )): ?>
	<div>
		<h1><?php echo ((is_array($_tmp=$this->_tpl_vars['category']->name)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
</h1>
		<?php if (isset ( $this->_tpl_vars['sub_category'] ) & ! empty ( $this->_tpl_vars['sub_category'] )): ?>	
			<h4><?php echo smartyTranslate(array('s' => 'List of sub categories in '), $this);?>
<?php echo $this->_tpl_vars['category']->name; ?>
<?php echo smartyTranslate(array('s' => ':'), $this);?>
</h4>
			<ul class="bullet">
				<?php $_from = $this->_tpl_vars['sub_category']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['subcategory']):
?>
					<li>
						<a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['link']->getCMSCategoryLink($this->_tpl_vars['subcategory']['id_cms_category'],$this->_tpl_vars['subcategory']['link_rewrite']))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['subcategory']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
</a>
					</li>
				<?php endforeach; endif; unset($_from); ?>
			</ul>
		<?php endif; ?>
		<?php if (isset ( $this->_tpl_vars['cms_pages'] ) & ! empty ( $this->_tpl_vars['cms_pages'] )): ?>
		<h4><?php echo smartyTranslate(array('s' => 'List of pages in '), $this);?>
<?php echo $this->_tpl_vars['category']->name; ?>
<?php echo smartyTranslate(array('s' => ':'), $this);?>
</h4>
			<ul class="bullet">
				<?php $_from = $this->_tpl_vars['cms_pages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['cmspages']):
?>
					<li>
						<a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['link']->getCMSLink($this->_tpl_vars['cmspages']['id_cms'],$this->_tpl_vars['cmspages']['link_rewrite']))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['cmspages']['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
</a>
					</li>
				<?php endforeach; endif; unset($_from); ?>
			</ul>
		<?php endif; ?>
	</div>
<?php else: ?>
	<?php echo smartyTranslate(array('s' => 'This page does not exist.'), $this);?>

<?php endif; ?>